<?php

	class User implements iModel {
	
		public $userId;
		public $identification;
		public $identificationType;
		public $name;
		public $birthDate;
		public $phone;
		public $email;
		public $password;
		public $roomGuestId;
		public $employeeId;
		
		public function setUserId($userId) {
       		$this->userId = $userId;
		}

		public function getUserId() {
		       return $this->userId;
		}
		
		public function setIdentification($identification) {
       		$this->identification = $identification;
		}

		public function getIdentification() {
		       return $this->identification;
		}
		
		
		public function setIdentificationType($identificationType) {
		       $this->identificationType = $identificationType;
		}
		
		
		public function getIdentificationType() {
		       return $this->identificationType;
		}
		
		public function setName($name) {
		       $this->name = $name;
		}
		
		
		public function getName() {
		       return $this->name;
		}
		
		
		public function setBirthDate($birthDate) {
		       $this->birthDate = $birthDate;
		}
		
		
		public function getBirthDate() {
		       return $this->birthDate;
		}
		
		public function setPhone($phone) {
		       $this->phone = $phone;
		}
		
		
		public function getPhone() {
		       return $this->phone;
		}
		
		public function setEmail($email) {
       		$this->email = $email;
		}
		
		
		public function getEmail() {
		       return $this->email;
		}
		
		public function setPassword($password) {
       		$this->password = $password;
		}
		
		
		public function getPassword() {
		       return $this->password;
		}
		
		
		public function setRoomGuestId($roomGuestId) {
       		$this->roomGuestId = $roomGuestId;
		}
		
		
		public function getRoomGuestId() {
		       return $this->roomGuestId;
		}
		
		public function setEmployeeId($employeeId) {
       		$this->employeeId = $employeeId;
		}
		
		public function getEmployeeId() {
		       return $this->employeeId;
		}
		
		public function JSONToObject($userJSON) {
			$this->setUserId($userJSON->userId);
			$this->setIdentification($userJSON->identification);
			$this->setIdentificationType($userJSON->identificationType);	
			$this->setName($userJSON->name);
			$this->setBirthDate($userJSON->birthDate);
			$this->setPhone($userJSON->phone);
			$this->setEmail($userJSON->email);
			$this->setPassword($userJSON->password);
		}
		
	}

?>